package com.xilihui.xlh.business.entities;

import com.google.gson.annotations.SerializedName;
import com.xilihui.xlh.core.app.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/6/22.
 */

public class ItemsEntity extends BaseEntity{


    /**
     * id : 8
     * name : 测试添加门店 归属市代
     * data : [{"agent_id":"8","project_id":"1","name":"染发","status":"0","seat_type":"2","seat_name":[{"seat_type":"2","name":"VIP"}]},{"agent_id":"8","project_id":"3","name":"非主流","status":"0","seat_type":"1","seat_name":[{"seat_type":"1","name":"普通"}]},{"agent_id":"8","project_id":"4","name":"大爆炸","status":"0","seat_type":"2","seat_name":[{"seat_type":"2","name":"VIP"}]},{"agent_id":"8","project_id":"5","name":"拉直","status":"0","seat_type":"2","seat_name":[{"seat_type":"2","name":"VIP"}]},{"agent_id":"8","project_id":"6","name":"123","status":"0","seat_type":"1","seat_name":[{"seat_type":"1","name":"普通"}]}]
     */

    private String id;
    private String name;
    private String time;
    private List<DataBean> data;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * agent_id : 8
         * project_id : 1
         * name : 染发
         * status : 0
         * seat_type : 2
         * seat_name : [{"seat_type":"2","name":"VIP"}]
         */

        private String agent_id;
        private int project_id;
        private String name;
        private String status;
        private String statusX;
        private String seat_type;
        private List<SeatNameBean> seat_set;

        public String getAgent_id() {
            return agent_id;
        }

        public void setAgent_id(String agent_id) {
            this.agent_id = agent_id;
        }

        public int getProject_id() {
            return project_id;
        }

        public void setProject_id(int project_id) {
            this.project_id = project_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getStatusX() {
            return statusX;
        }

        public void setStatusX(String statusX) {
            this.statusX = statusX;
        }

        public String getSeat_type() {
            return seat_type;
        }

        public void setSeat_type(String seat_type) {
            this.seat_type = seat_type;
        }

        public List<SeatNameBean> getSeat_name() {
            return seat_set;
        }

        public void setSeat_name(List<SeatNameBean> seat_name) {
            this.seat_set = seat_name;
        }

        public static class SeatNameBean implements Serializable{
            /**
             * seat_type : 2
             * name : VIP
             */

            private int seat_type;
            private String name;
            private int id;

            public int getSeat_type() {
                return seat_type;
            }

            public void setSeat_type(int seat_type) {
                this.seat_type = seat_type;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
